html { overflow: hidden; }

#footer{
    position: absolute;
    bottom: 0;
    left: 0;
    background: white;
    height: 30px;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: right;

}


html, body {
     margin: 0;
     padding: 0;
     height: 100%;
     font-family: 'Trebuchet MS';
     font-size: 95%;
     
}

body { background: url($imagesUrl/rect21970.png);}

#content {
     position: relative;
     height: 100%;
}

#map {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
}

#map-wrapper {
     position: relative;
     height: 100% ;
}

#sidebar {
     position: absolute;
     background: url(../images/rbisui/rect22945x.png) repeat-y left;
     top: 0px;
     width: 400px;
     height: 100%;
     overflow: auto;
     right:0;
}

#dialog{
    position: absolute;
    background: url(../rbisui/rect21974.png) bottom repeat-x;
    top: 0px;
    width: 100%;
    height: 240px;
    overflow: auto;
    display: none;
}

#sidebar p {
     margin: 20px;
}
/*
body.sidebar-right #map-wrapper { margin-right: 390px; }
body.sidebar-right #dialog { margin-right: 390px; }
body.sidebar-right #sidebar { right: 0; }

body.nosidebar #map-wrapper { margin-right: 0; }
body.nosidebar #dialog { margin-right: 0; }
body.nosidebar #sidebar { display: none; }

body.sidebar-right a#button-sidebar-show,
body.nosidebar a#button-sidebar-hide { display: none; }
*/

#topmenu {
     background: url(../rbisui/rect21972.png) repeat-x bottom;
     position: relative;
     height: 43px;
     border-bottom: 1px solid #99b;
}

#topmenu ul {
     
     padding: 0;
     margin: 0;
}

#topmenu ul#sidebar-controls li {
	position: absolute;
	right: 370px;
	bottom: 5px;
}

#topmenu ul#dialog-controls li {
	position: absolute;
	right: 400px;
	bottom: 5px;
}

#topmenu ul li {
     font-family: 'Trebuchet MS';
     display: inline;
     margin: 4px;
}

#topmenu ul li a {
     padding: 3px 6px;
     color: #444;
     text-decoration: none;
     font-size: 12px;
}

#topmenu ul li a:hover {
    text-decoration: none;
     color: #aaa;
     background: #444;
}

#citation {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 147px;
    width: 370px;
    border-top: 1px dotted;
      }

#citationdiv{
    position: absolute;
    bottom: 0;
    right: 0;
}